﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003BD RID: 957
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DFDAADKLANI : IMessage<DFDAADKLANI>, IMessage, IEquatable<DFDAADKLANI>, IDeepCloneable<DFDAADKLANI>, IBufferMessage
	{
		// Token: 0x17000C3D RID: 3133
		// (get) Token: 0x06002ABA RID: 10938 RVA: 0x00075E55 File Offset: 0x00074055
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DFDAADKLANI> Parser
		{
			get
			{
				return DFDAADKLANI._parser;
			}
		}

		// Token: 0x17000C3E RID: 3134
		// (get) Token: 0x06002ABB RID: 10939 RVA: 0x00075E5C File Offset: 0x0007405C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DFDAADKLANIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C3F RID: 3135
		// (get) Token: 0x06002ABC RID: 10940 RVA: 0x00075E6E File Offset: 0x0007406E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DFDAADKLANI.Descriptor;
			}
		}

		// Token: 0x06002ABD RID: 10941 RVA: 0x00075E75 File Offset: 0x00074075
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DFDAADKLANI()
		{
		}

		// Token: 0x06002ABE RID: 10942 RVA: 0x00075E80 File Offset: 0x00074080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DFDAADKLANI(DFDAADKLANI other) : this()
		{
			this.miracleInfo_ = ((other.miracleInfo_ != null) ? other.miracleInfo_.Clone() : null);
			this.bBDANMAELIN_ = other.bBDANMAELIN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002ABF RID: 10943 RVA: 0x00075ECC File Offset: 0x000740CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DFDAADKLANI Clone()
		{
			return new DFDAADKLANI(this);
		}

		// Token: 0x17000C40 RID: 3136
		// (get) Token: 0x06002AC0 RID: 10944 RVA: 0x00075ED4 File Offset: 0x000740D4
		// (set) Token: 0x06002AC1 RID: 10945 RVA: 0x00075EDC File Offset: 0x000740DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameRogueMiracle MiracleInfo
		{
			get
			{
				return this.miracleInfo_;
			}
			set
			{
				this.miracleInfo_ = value;
			}
		}

		// Token: 0x17000C41 RID: 3137
		// (get) Token: 0x06002AC2 RID: 10946 RVA: 0x00075EE5 File Offset: 0x000740E5
		// (set) Token: 0x06002AC3 RID: 10947 RVA: 0x00075EED File Offset: 0x000740ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BBDANMAELIN
		{
			get
			{
				return this.bBDANMAELIN_;
			}
			set
			{
				this.bBDANMAELIN_ = value;
			}
		}

		// Token: 0x06002AC4 RID: 10948 RVA: 0x00075EF6 File Offset: 0x000740F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DFDAADKLANI);
		}

		// Token: 0x06002AC5 RID: 10949 RVA: 0x00075F04 File Offset: 0x00074104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DFDAADKLANI other)
		{
			return other != null && (other == this || (object.Equals(this.MiracleInfo, other.MiracleInfo) && this.BBDANMAELIN == other.BBDANMAELIN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002AC6 RID: 10950 RVA: 0x00075F54 File Offset: 0x00074154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.miracleInfo_ != null)
			{
				num ^= this.MiracleInfo.GetHashCode();
			}
			if (this.BBDANMAELIN != 0U)
			{
				num ^= this.BBDANMAELIN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002AC7 RID: 10951 RVA: 0x00075FA9 File Offset: 0x000741A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002AC8 RID: 10952 RVA: 0x00075FB1 File Offset: 0x000741B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002AC9 RID: 10953 RVA: 0x00075FBC File Offset: 0x000741BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.miracleInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.MiracleInfo);
			}
			if (this.BBDANMAELIN != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.BBDANMAELIN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002ACA RID: 10954 RVA: 0x00076018 File Offset: 0x00074218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.miracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MiracleInfo);
			}
			if (this.BBDANMAELIN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BBDANMAELIN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002ACB RID: 10955 RVA: 0x00076070 File Offset: 0x00074270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DFDAADKLANI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.miracleInfo_ != null)
			{
				if (this.miracleInfo_ == null)
				{
					this.MiracleInfo = new GameRogueMiracle();
				}
				this.MiracleInfo.MergeFrom(other.MiracleInfo);
			}
			if (other.BBDANMAELIN != 0U)
			{
				this.BBDANMAELIN = other.BBDANMAELIN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002ACC RID: 10956 RVA: 0x000760D8 File Offset: 0x000742D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002ACD RID: 10957 RVA: 0x000760E4 File Offset: 0x000742E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BBDANMAELIN = input.ReadUInt32();
					}
				}
				else
				{
					if (this.miracleInfo_ == null)
					{
						this.MiracleInfo = new GameRogueMiracle();
					}
					input.ReadMessage(this.MiracleInfo);
				}
			}
		}

		// Token: 0x040010E9 RID: 4329
		private static readonly MessageParser<DFDAADKLANI> _parser = new MessageParser<DFDAADKLANI>(() => new DFDAADKLANI());

		// Token: 0x040010EA RID: 4330
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010EB RID: 4331
		public const int MiracleInfoFieldNumber = 2;

		// Token: 0x040010EC RID: 4332
		private GameRogueMiracle miracleInfo_;

		// Token: 0x040010ED RID: 4333
		public const int BBDANMAELINFieldNumber = 6;

		// Token: 0x040010EE RID: 4334
		private uint bBDANMAELIN_;
	}
}
